package org.geektimes.configuration.microprofile.config.source;

import java.util.Map;

public class JavaSystemPropertiesConfigSource extends MapBasedConfigSource {

    public JavaSystemPropertiesConfigSource(){
        super("Java System Properties",400);
    }

    @Override
    public void prepareConfigData(Map configData) throws Throwable {
        Map systemProperties = System.getProperties();
        configData.putAll(systemProperties);
    }

}
